package com.xy.lang.domain.tuples;

/**
 * 二元组
 *
 * @param <T1>
 * @param <T2>
 */
public class Pair<T1, T2> extends Tuple<T1> {

    protected T2 value2;

    public Pair(T1 value1, T2 value2) {
        super(value1);
        this.value2 = value2;
    }

    public T2 getValue2() {
        return value2;
    }

}
